.login-container {
    width: 100%;
    height: calc(100% - 50px);
    /* 开启弹性布局 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-frame {
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
}

.login-frame h2 {
    color: rgb(140, 190, 239);
    text-align: center;
    padding: 50px 10px 40px 10px;
}

.login-frame .row {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-frame .srow {
    height: 60px;
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-frame .row span {
    width: 100px;
    font-size: 20px;
}

#username,
#password1,
#password2 {
    width: 200px;
    height: 40px;
    border-radius: 10px;
    /*去掉边框*/
    border: 1px solid #d3d0d0;
    font-size: 18px;
    padding-left: 5px;
}

#submit {
    width: 300px;
    height: 40px;
    border-radius: 10px;
    font-size: 20px;
    border: none;
    color: white;
    background-color: rgb(120, 231, 239);
}

#submit:active {
    background-color: rgb(203, 199, 199);
}

.reg {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reg a {
    color: rgb(59, 132, 248);
    text-decoration: none;
}

.reg a:active {
    color: rgb(240, 51, 155);
}